home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / wptool09.zip / WPSBKP.TXT < prev    next >
Text File  |  1993-05-13  |  12KB  |  285 lines

  1.                          === DISCLAIMER ===
  2.  
  3.  
  4. I allow you to use and distribute WPSBKP and WPSREST freely under the 
  5. condition that I am in no way responsible for any damage or loss you 
  6. may suffer. 
  7.  
  8. Henk Kelder, 2:280/801.339@fidonet.org
  9.              ^^^^^^^^^^^^^<-(new address)
  10.  
  11.  
  12.            === IMPORTANT - READ THIS FIRST !===
  13.  
  14. You should take care when using this program on new versions of
  15. OS/2 since this program interprets data from the ini-files. 
  16. The internal structure of this data can change, and the
  17. program might fail or even corrupt information
  18. This was the case with the new OS/2 2.00.1 (or 2.01) version as well
  19. as the Service Pack release in october 1992.
  20.  
  21. The best way to test this is run checkini WITHOUT the /C option! 
  22. (Optionally use the /W option to write out all checkini's findings and 
  23. inspect the logfile)
  24. If Checkini reports un unusual amount of errors, the internal structure of
  25. the workplace shells data inside the ini-files might have changed. 
  26. Look in CHECKINI's logfile at the  
  27. "PM_Abstract:Objects & PM_Abstract:FldrContents" section with special care.
  28. If this section contains a lot of errors while your workplace shell seems to
  29. function properly there might have been a change, so:
  30.  
  31.          DO NOT USE CHECKINI.EXE or WPSBKP.EXE then!
  32.          ===========================================
  33.  
  34. (see DANGER.TXT about this)
  35. Note: The warning above does not apply to WPSREST.EXE and COPYINI.EXE!
  36.  
  37.  
  38.  
  39. KNOWN PROBLEMS:
  40.  
  41. If you are using to *original* OS/2 2.0 version (the so-called GA version)
  42. restoring a backup might result in lost properties such a icons and various
  43. settings. The cause for these problems lies in OS/2 self.
  44. Installing the service pack from October 1992 solves these problems.
  45.  
  46.  
  47.  
  48.                   === NOTES ON WPSBKP & WPSREST ===
  49.  
  50.  
  51. DESCRIPTION:
  52.  
  53. WPSBKP.EXE and WPSREST.EXE are two programs that allow you to partially
  54. backup you workplace shell. Whenever you have to reinstall you desktop by
  55. either recreating the ini using MAKEINI or by re-installing OS/2 you can
  56. use the WPSREST program the recreate all your WPProgram and WPShadow objects.
  57.  
  58.  
  59. The approach I took is different from the WPSBKx.ZIP package found on 
  60. several BBS's. 
  61. The WPSBKn.ZIP program by Dave Lester actually makes copies of OS2.INI 
  62. and OS2SYS.INI and saves all extended attributes of files on the desktop
  63. (anyway WPSBK4 did this).
  64.  
  65. The programs in this package only backup's WPProgram and WPShadow objects 
  66. since these objects are mainly the things one adds to the WPS when 
  67. customising the desktop. 
  68. WPSBKP.EXE also backup's MOST, but not all, information of the folders
  69. these objects are located in. A folders background, sort options and some
  70. other things are not saved.
  71.  
  72. WPSBKP.EXE creates a text file (WPSBKP.DAT) the contains the instructions
  73. to recreate the objects mentioned above. This text file can be inspected
  74. or modified, and can be used by WPSREST to recreate program and shadow 
  75. objects. Also, all icons you have assigned to the objects are saved.
  76.  
  77. You are advised to run WPSBKP in a empty directory.
  78.  
  79.  
  80. WPSREST allows you to specify a alternate input file. If you do not specify
  81. an input file, WPSBKP.DAT in the current directory is used as default.
  82.  
  83.  
  84.                 === FURTHER INFORMATION ===
  85.  
  86.  
  87. When WPSBKP extracts information from your, all objects that do not have an
  88. unique OBJECTID are assigned one (after confirmation by the user). 
  89. An OBJECTID is a kind of reference to an object (e.g. <WP_DESKTOP> 
  90. for the desktop). 
  91. It is possible that there is a problem with these object id's:
  92. sometimes two objects contain the same objectid. WPSBKP will report 
  93. these problems: 
  94.  
  95.    PROBLEM: <objectid> is also in use by object: xxxxx.
  96.  
  97. When restoring the objects the WPSREST program checks for these OBJECTID's. 
  98. If an object with a given OBJECTID exists, only the settings are applied 
  99. to it, if it does not exist, you are asked if you want to create the object.
  100.  
  101. If a shadow object points to an abstract object (not a file or directory)
  102. and this abstract object does not have an unique OBJECTID, the shadow will
  103. NOT be backup'd. This will be reported.
  104.  
  105.  
  106. When you run the WPSREST program you must make shure you have no open
  107. folders or other objects. In some cases your system will hang when WPSREST
  108. tries to apply settings to open folders. This is due to a bug in the WPS:
  109.  
  110.  
  111.         WinSetObjectData(hObject, "ICONVIEW=FLOWED,NORMAL,VISIBLE");
  112.         will hang you PC when applied to an open folder.
  113.  
  114. NOTE: This problem is solved in the 'service pack' dated october 1992.
  115.  
  116.  
  117. WPSBKP does also save the icon position for objects on the desktop, 
  118. but not for objects in other folders. However these iconpositions are only
  119. handled properly when recreating the object and not when the object still
  120. exists. So you can NOT use WPSBKP as a backup-tool for you icon positions. 
  121. The same applies to the font information for folders.
  122. This is due to a bug (??) in the WPS:
  123.  
  124.         WinSetObjectData(hObject, "ICONPOS=x y") 
  125.         WinSetObjectData(hObject, "ICONFONT=8.Helv")
  126.           
  127.         are not processed for existing objects.
  128.  
  129. NOTE: Part of this problem (the font) is solved in the 'service pack' 
  130.       dated october 1992.
  131.  
  132.  
  133. If you have added objects and have not shutdown your system before making a
  134. backup it is possible that some settings are not extracted properly. This 
  135. because WPSBKP uses information in your ini-files and some values are only
  136. written to it when you shutdown. This applies aspecially to the ICONPOS. If
  137. WPSBKP cannot find a icon position for an object on the desktop, it will
  138. report so.
  139.  
  140.  
  141.  
  142. For WPSREST to work best, you should have installed the SOMFIX patch dated
  143. September 4, 1992. This patch solves a problem in the WinSetObjectData call
  144. the would not allow a setting string to be longer than 255 characters.
  145. Also, installing the service pack for OS/2 2.0 from october 1992, solves 
  146. this problem.
  147.  
  148.  
  149. CORRECTIONS in version 0.91:
  150.  
  151. o   In this version a problem has been corrected that ICONPOS setting was not
  152.     added for objects on the desktop other than WPFolder.
  153.  
  154. o   Another problem was that when restoring a WPShadow object for a folder, 
  155.     the TITLE=xxxx setting made that the original folder name was renamed.
  156.     The program than hung the desktop. This has been corrected so that a 
  157.     WPShadow object does not contain a TITLE=xxxx setting. Also when
  158.     restoring objects, a existing WPShadow object is not updated.
  159.  
  160. o   WPShadow objects are always backuped last.
  161.  
  162. o   Performance has been improved.
  163.  
  164.  
  165. CHANGES in version 0.92:
  166.  
  167. o   WPSBKP now accepts a directory name as parameter. This directory must
  168.     exist and is used to place the backup information in. If no parameter
  169.     is specified the current directory is used.
  170.  
  171. o   WPSBKP prompts the location where the backup information will be placed
  172.     and the user must confirm this with a 'Y'.
  173.  
  174. CHANGES in version 0.94:
  175.  
  176. o   WPSBKP now support OS/2 2.00.1 (beta version)
  177.  
  178. o   Since the needed PROGTYPE strings for WINOS231 (OS/2 2.00.1) programs 
  179.     are unknown WINOS231 programs will backup as WINOS2 (3.0) programs.
  180.  
  181. o   Template WPProgram objects are no longer backup'd.
  182.  
  183.  
  184. CHANGES is version 0.96:
  185.  
  186. o   WPSBKP now works properly after installing the october '92 service pack
  187.  
  188. CHANGES is version 0.97:
  189.  
  190. o   In some occasions a problem could occur that multiple objects have the
  191.     same OBJECTID assigned. WPSBKP now assigns a new OBJECTID id to the
  192.     object that incorrectly claims to have a duplicate OBJECTID.
  193.  
  194. o   Updated the documentation files (this file)
  195.  
  196. o   When creating the text file (WPSBKP.DAT) an existing version of this
  197.     file will be renamed to WPSBKP.OLD.
  198.  
  199. o   A simple test has been build in to see if OBJECTID's can be found
  200.     in the ini-files, to determine if the internal data structure of the
  201.     ini-files might have been changed and WPSBKP will fail completely.
  202.     This is however no guarantee that WPSBKP will function properly on
  203.     new versions of OS/2 2.0.
  204.  
  205. o   Whenever WPSBKP wants to assign an OBJECTID to an object, the user 
  206.     will be prompted for a confirmation to assign this OBJECTID to the 
  207.     object. Whatever the reply is, the new OBJECTID is always written to
  208.     the backup file.
  209.  
  210. CHANGES in version 0.98:
  211.  
  212. o   Due to an error in the OS/2 2.0 Toolkit the ICONVIEWPOS (size and
  213.     position of a folder) was incorrectly backup'd.  The positions were
  214.     backup's as ICONVIEWPOS=x1,y1,x2,y2 while they should have been backup'd
  215.     as ICONVIEWPOS=x,y,cx,cy (xpos, ypos, widht, height) in percentages.
  216.  
  217. CHANGES in version 0.99:
  218.  
  219. o   Trailing spaces in DOS settings and Objecttitles are removed
  220.  
  221. o   WIN-OS/2 3.1 program types are backup'd properly. (OS/2 BETA 2.1). 
  222.     So the problem mentioned with version 0.94 no longer exists.
  223.  
  224. CHANGES in version 1.01:
  225.  
  226. o   Some minor text enhancements were made.
  227.  
  228. o   When a problems was encountered with the format of the INI files 
  229.     WPSBKP now advises to run CheckIni.
  230.  
  231. CHANGES in version 1.02:
  232.  
  233. o   A problem existed in 2.1 BETA when DOS SETTINGS were backup'd.
  234.     Appearantly 2.1 BETA handled comma's different from the GA version.
  235.     A correction has been build in WPSBKP that will handle DOS SETTINGS
  236.     properly for 2.1 BETA.
  237.     WPSBKP now backups DOS Settings as documented in the OS/2 Toolkits
  238.     documentation files. A comma is seen as a newline and whenever a literal
  239.     comma is needed a ^ is put in before it.
  240.  
  241.     The effect of the problem was the each comma was interpreted as a
  242.     newline character. This actually resulted in a TRAP E when trying
  243.     to start a restored DOS program that contained DOS_VERSION settings.
  244.     If you encounter these problems open the settings for the Dos program 
  245.     objects, go to setting page 2, press on 'DOS settings', go to
  246.     DOS_VERSION and press the 'DEFAULT' button.
  247.  
  248.  
  249. Notes on version 1.10:
  250.  
  251. o     This version now supports all known versions of OS/2 2.0 and 
  252.       OS/2 2.1 Beta versions uptill release level 6.498 (March '93)
  253.  
  254. o     Some time ago (version 0.99) Trailing spaces were removed in 
  255.       DosSettings.
  256.       Appearantly the 'NETWARE_RESOURCES' always must be padded with 
  257.       spaces to 7 positions. Now the trailing spaces in DosSettings are
  258.       back in again.
  259.  
  260. Notes on version 1.11:
  261.  
  262. o     The format of the output (WPSBKP.DAT) file was changed to a more
  263.       readable format. Version 1.11 of WPSREST supports both the old and
  264.       the new format.
  265.  
  266. o     The version number of WPSREST now matches the version number of 
  267.       WPSBKP.
  268.  
  269. o     An error was corrected were individual DOS_SETTINGS were limited to
  270.       100 characters. This lead to the problem that long DOS_SETTINGS 
  271.       (e.g. DOS_VERSION strings) being truncated.
  272.  
  273. o     The format of the .ICONPOS extended attribute was changed in OS/2 2.1.
  274.       WPSBKP now handles the EA correct for all supported versions.
  275.  
  276. o     The OS/2 2.0 GA version contained a BUG in a vital API call that I
  277.       tried to get around by actually doing two calls when restoring objects. 
  278.       The first to re-create the object, the second to apply some settings.
  279.       When using OS/2 2.1 BETA's this method lead to loosing the restored
  280.       object ICON on the second call. 
  281.  
  282.       When WPSREST detects OS/2 2.1 it does no longer do two calls when
  283.       restoring an object. (The BUG was fixed in the Service Pack already).
  284.       calls.
  285.